package com.glodon.ggzy.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * GgZfBuyregformitem entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "GG_ZF_BUYREGFORMITEM")
public class GgZfBuyregformitem implements java.io.Serializable {

	// Fields    

	private String id;

	private String regformid;

	private String itemcode;

	private String regformitemhid;

	private String catid;

	private String goodsclassid;

	private String buyerid;

	private String buyercode;

	private String itemname;

	private String model;

	private String spec;

	private String itemdesc;

	private String planitemid;

	private String planitemhid;

	private String planid;

	private String planhid;

	private String paytype;

	private String buyform;

	private String ebuymethod;

	private String evaluationmethod;

	private String implrangekind;

	private String brandid;

	private String refgoodsid;

	private String refgoodshid;

	private String origintype;

	private String isaddedaccessory;

	private Double quantity;

	private String measureunit;

	private Double price;

	private String attachrelaid;

	private String creator;

	private Timestamp createtime;

	private String newregformitemid;

	private String newregformitemhid;

	private String remark;

	private String status;

	private String reason;

	private String orcreateid;

	private String ororgid;

	private Timestamp ortime;

	// Constructors

	/** default constructor */
	public GgZfBuyregformitem() {
	}

	/** full constructor */
	public GgZfBuyregformitem(String regformid, String itemcode, String regformitemhid, String catid, String goodsclassid, String buyerid,
			String buyercode, String itemname, String model, String spec, String itemdesc, String planitemid, String planitemhid, String planid,
			String planhid, String paytype, String buyform, String ebuymethod, String evaluationmethod, String implrangekind, String brandid,
			String refgoodsid, String refgoodshid, String origintype, String isaddedaccessory, Double quantity, String measureunit, Double price,
			String attachrelaid, String creator, Timestamp createtime, String newregformitemid, String newregformitemhid, String remark,
			String status, String reason, String orcreateid, String ororgid, Timestamp ortime) {
		this.regformid = regformid;
		this.itemcode = itemcode;
		this.regformitemhid = regformitemhid;
		this.catid = catid;
		this.goodsclassid = goodsclassid;
		this.buyerid = buyerid;
		this.buyercode = buyercode;
		this.itemname = itemname;
		this.model = model;
		this.spec = spec;
		this.itemdesc = itemdesc;
		this.planitemid = planitemid;
		this.planitemhid = planitemhid;
		this.planid = planid;
		this.planhid = planhid;
		this.paytype = paytype;
		this.buyform = buyform;
		this.ebuymethod = ebuymethod;
		this.evaluationmethod = evaluationmethod;
		this.implrangekind = implrangekind;
		this.brandid = brandid;
		this.refgoodsid = refgoodsid;
		this.refgoodshid = refgoodshid;
		this.origintype = origintype;
		this.isaddedaccessory = isaddedaccessory;
		this.quantity = quantity;
		this.measureunit = measureunit;
		this.price = price;
		this.attachrelaid = attachrelaid;
		this.creator = creator;
		this.createtime = createtime;
		this.newregformitemid = newregformitemid;
		this.newregformitemhid = newregformitemhid;
		this.remark = remark;
		this.status = status;
		this.reason = reason;
		this.orcreateid = orcreateid;
		this.ororgid = ororgid;
		this.ortime = ortime;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 100)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "REGFORMID", length = 100)
	public String getRegformid() {
		return this.regformid;
	}

	public void setRegformid(String regformid) {
		this.regformid = regformid;
	}

	@Column(name = "ITEMCODE", length = 80)
	public String getItemcode() {
		return this.itemcode;
	}

	public void setItemcode(String itemcode) {
		this.itemcode = itemcode;
	}

	@Column(name = "REGFORMITEMHID", length = 100)
	public String getRegformitemhid() {
		return this.regformitemhid;
	}

	public void setRegformitemhid(String regformitemhid) {
		this.regformitemhid = regformitemhid;
	}

	@Column(name = "CATID", length = 100)
	public String getCatid() {
		return this.catid;
	}

	public void setCatid(String catid) {
		this.catid = catid;
	}

	@Column(name = "GOODSCLASSID", length = 100)
	public String getGoodsclassid() {
		return this.goodsclassid;
	}

	public void setGoodsclassid(String goodsclassid) {
		this.goodsclassid = goodsclassid;
	}

	@Column(name = "BUYERID", length = 100)
	public String getBuyerid() {
		return this.buyerid;
	}

	public void setBuyerid(String buyerid) {
		this.buyerid = buyerid;
	}

	@Column(name = "BUYERCODE", length = 80)
	public String getBuyercode() {
		return this.buyercode;
	}

	public void setBuyercode(String buyercode) {
		this.buyercode = buyercode;
	}

	@Column(name = "ITEMNAME", length = 500)
	public String getItemname() {
		return this.itemname;
	}

	public void setItemname(String itemname) {
		this.itemname = itemname;
	}

	@Column(name = "MODEL", length = 80)
	public String getModel() {
		return this.model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	@Column(name = "SPEC", length = 80)
	public String getSpec() {
		return this.spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	@Column(name = "ITEMDESC", length = 500)
	public String getItemdesc() {
		return this.itemdesc;
	}

	public void setItemdesc(String itemdesc) {
		this.itemdesc = itemdesc;
	}

	@Column(name = "PLANITEMID", length = 100)
	public String getPlanitemid() {
		return this.planitemid;
	}

	public void setPlanitemid(String planitemid) {
		this.planitemid = planitemid;
	}

	@Column(name = "PLANITEMHID", length = 100)
	public String getPlanitemhid() {
		return this.planitemhid;
	}

	public void setPlanitemhid(String planitemhid) {
		this.planitemhid = planitemhid;
	}

	@Column(name = "PLANID", length = 100)
	public String getPlanid() {
		return this.planid;
	}

	public void setPlanid(String planid) {
		this.planid = planid;
	}

	@Column(name = "PLANHID", length = 100)
	public String getPlanhid() {
		return this.planhid;
	}

	public void setPlanhid(String planhid) {
		this.planhid = planhid;
	}

	@Column(name = "PAYTYPE", length = 80)
	public String getPaytype() {
		return this.paytype;
	}

	public void setPaytype(String paytype) {
		this.paytype = paytype;
	}

	@Column(name = "BUYFORM", length = 80)
	public String getBuyform() {
		return this.buyform;
	}

	public void setBuyform(String buyform) {
		this.buyform = buyform;
	}

	@Column(name = "EBUYMETHOD", length = 80)
	public String getEbuymethod() {
		return this.ebuymethod;
	}

	public void setEbuymethod(String ebuymethod) {
		this.ebuymethod = ebuymethod;
	}

	@Column(name = "EVALUATIONMETHOD", length = 80)
	public String getEvaluationmethod() {
		return this.evaluationmethod;
	}

	public void setEvaluationmethod(String evaluationmethod) {
		this.evaluationmethod = evaluationmethod;
	}

	@Column(name = "IMPLRANGEKIND", length = 80)
	public String getImplrangekind() {
		return this.implrangekind;
	}

	public void setImplrangekind(String implrangekind) {
		this.implrangekind = implrangekind;
	}

	@Column(name = "BRANDID", length = 100)
	public String getBrandid() {
		return this.brandid;
	}

	public void setBrandid(String brandid) {
		this.brandid = brandid;
	}

	@Column(name = "REFGOODSID", length = 100)
	public String getRefgoodsid() {
		return this.refgoodsid;
	}

	public void setRefgoodsid(String refgoodsid) {
		this.refgoodsid = refgoodsid;
	}

	@Column(name = "REFGOODSHID", length = 100)
	public String getRefgoodshid() {
		return this.refgoodshid;
	}

	public void setRefgoodshid(String refgoodshid) {
		this.refgoodshid = refgoodshid;
	}

	@Column(name = "ORIGINTYPE", length = 80)
	public String getOrigintype() {
		return this.origintype;
	}

	public void setOrigintype(String origintype) {
		this.origintype = origintype;
	}

	@Column(name = "ISADDEDACCESSORY", length = 80)
	public String getIsaddedaccessory() {
		return this.isaddedaccessory;
	}

	public void setIsaddedaccessory(String isaddedaccessory) {
		this.isaddedaccessory = isaddedaccessory;
	}

	@Column(name = "QUANTITY", precision = 30, scale = 10)
	public Double getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Double quantity) {
		this.quantity = quantity;
	}

	@Column(name = "MEASUREUNIT", length = 80)
	public String getMeasureunit() {
		return this.measureunit;
	}

	public void setMeasureunit(String measureunit) {
		this.measureunit = measureunit;
	}

	@Column(name = "PRICE", precision = 30, scale = 10)
	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	@Column(name = "ATTACHRELAID", length = 100)
	public String getAttachrelaid() {
		return this.attachrelaid;
	}

	public void setAttachrelaid(String attachrelaid) {
		this.attachrelaid = attachrelaid;
	}

	@Column(name = "CREATOR", length = 100)
	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Column(name = "CREATETIME", length = 7)
	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	@Column(name = "NEWREGFORMITEMID", length = 100)
	public String getNewregformitemid() {
		return this.newregformitemid;
	}

	public void setNewregformitemid(String newregformitemid) {
		this.newregformitemid = newregformitemid;
	}

	@Column(name = "NEWREGFORMITEMHID", length = 100)
	public String getNewregformitemhid() {
		return this.newregformitemhid;
	}

	public void setNewregformitemhid(String newregformitemhid) {
		this.newregformitemhid = newregformitemhid;
	}

	@Column(name = "REMARK", length = 500)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "STATUS", length = 80)
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name = "REASON", length = 1000)
	public String getReason() {
		return this.reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	@Column(name = "ORCREATEID", length = 100)
	public String getOrcreateid() {
		return this.orcreateid;
	}

	public void setOrcreateid(String orcreateid) {
		this.orcreateid = orcreateid;
	}

	@Column(name = "ORORGID", length = 100)
	public String getOrorgid() {
		return this.ororgid;
	}

	public void setOrorgid(String ororgid) {
		this.ororgid = ororgid;
	}

	@Column(name = "ORTIME", length = 7)
	public Timestamp getOrtime() {
		return this.ortime;
	}

	public void setOrtime(Timestamp ortime) {
		this.ortime = ortime;
	}

}
